projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf4a60a
)
(mouse-avoidance-banish-hook): Don't move unless in an
author
Karl Heuer
<kwzh@gnu.org>
Mon, 21 Sep 1998 19:42:29 +0000
(19:42 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Mon, 21 Sep 1998 19:42:29 +0000
(19:42 +0000)
Emacs frame.
lisp/avoid.el
patch
|
blob
|
history
diff --git
a/lisp/avoid.el
b/lisp/avoid.el
index 0ce9e479229334343760ba900cd2724bb9e77b52..2c3d7e822b92386e388a5ec6ecaa89dd70d3a4c1 100644
(file)
--- a/
lisp/avoid.el
+++ b/
lisp/avoid.el
@@
-268,6
+268,7
@@
redefine this function to suit your own tastes."
(defun mouse-avoidance-banish-hook ()
(if (and (not executing-kbd-macro) ; don't check inside macro
+ (cadr (mouse-position)) ; don't move unless in an Emacs frame
;; Don't do anything if last event was a mouse event.
(not (and (consp last-input-event)
(symbolp (car last-input-event))